﻿package
{
	import org.flixel.*;
	import org.flixel.plugin.photonstorm.FlxCollision;
	import org.flixel.plugin.photonstorm.FlxBar;
	import org.flixel.plugin.photonstorm.FlxWeapon;
	
	public class PlayState extends FlxState
	{	


	
		override public function create():void
		{			
			FlxG.bgColor = 0xffacbcd7;
		
				add(new FlxText(32,36,96,"click to start").setFormat(null,16,0x778ea1,"center"));
							
			
			
		}
		
		override public function destroy():void
		{
	
		}
		
		override public function update():void
		{
				if(FlxG.mouse.justPressed())
					FlxG.switchState(new Level1());
		}
	}
}
